<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/Sahit.iSoilHotel.Application.MainBoundedContext.DTO.RecordAgg" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/Sahit.iSoilHotel.Application.MainBoundedContext.DTO.RecordAgg" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import schemaLocation="http://localhost:11361/TavernRecordService.svc?xsd=xsd4" namespace="http://schemas.datacontract.org/2004/07/Sahit.iSoilHotel.Application.MainBoundedContext.DTO.CustomerAgg" />
  <xs:import schemaLocation="http://localhost:11361/TavernRecordService.svc?xsd=xsd5" namespace="http://schemas.datacontract.org/2004/07/Sahit.iSoilHotel.Application.MainBoundedContext.DTO.PriceAgg" />
  <xs:import schemaLocation="http://localhost:11361/TavernRecordService.svc?xsd=xsd6" namespace="http://schemas.datacontract.org/2004/07/Sahit.iSoilHotel.Application.MainBoundedContext.DTO.RoomAgg" />
  <xs:import schemaLocation="http://localhost:11361/TavernRecordService.svc?xsd=xsd3" namespace="http://schemas.datacontract.org/2004/07/Sahit.iSoilHotel.Application.Seedwork" />
  <xs:complexType name="RecordDTO">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q1="http://schemas.datacontract.org/2004/07/Sahit.iSoilHotel.Application.Seedwork" base="q1:DTOBase">
        <xs:sequence>
          <xs:element xmlns:q2="http://schemas.datacontract.org/2004/07/Sahit.iSoilHotel.Application.MainBoundedContext.DTO.CustomerAgg" minOccurs="0" name="Customers" nillable="true" type="q2:ArrayOfCustomerDTO" />
          <xs:element minOccurs="0" name="EndDate" type="xs:dateTime" />
          <xs:element xmlns:q3="http://schemas.datacontract.org/2004/07/Sahit.iSoilHotel.Application.MainBoundedContext.DTO.PriceAgg" minOccurs="0" name="Price" nillable="true" type="q3:PriceDTO" />
          <xs:element xmlns:q4="http://schemas.datacontract.org/2004/07/Sahit.iSoilHotel.Application.MainBoundedContext.DTO.PriceAgg" minOccurs="0" name="PriceCode" nillable="true" type="q4:PriceCodeDTO" />
          <xs:element xmlns:q5="http://schemas.datacontract.org/2004/07/Sahit.iSoilHotel.Application.MainBoundedContext.DTO.RoomAgg" minOccurs="0" name="Room" nillable="true" type="q5:RoomDTO" />
          <xs:element minOccurs="0" name="StartDate" type="xs:dateTime" />
          <xs:element minOccurs="0" name="Status" type="tns:RecordStatusDTO" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="RecordDTO" nillable="true" type="tns:RecordDTO" />
  <xs:simpleType name="RecordStatusDTO">
    <xs:restriction base="xs:string">
      <xs:enumeration value="Removed" />
      <xs:enumeration value="Reserved" />
      <xs:enumeration value="CheckIn" />
      <xs:enumeration value="CheckOut" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="RecordStatusDTO" nillable="true" type="tns:RecordStatusDTO" />
  <xs:complexType name="ArrayOfRecordDTO">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="RecordDTO" nillable="true" type="tns:RecordDTO" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfRecordDTO" nillable="true" type="tns:ArrayOfRecordDTO" />
</xs:schema>